<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
	</head>
	<body>
		<div id="clock"></div>
	</body>
	<script type="text/javascript">
			try{
			function show(){
			var nowT=new Date();
			var year=nowT.getFullYear();
			var month=nowT.getMonth()+1;
			var day=nowT.getDate();
			var hour=nowT.getHours();
			var min=nowT.getMinutes();
			var ss="今天日期："+year+"年"+month+"月"+day+"日"+"<br/>"+"现在时间："+hour+"点"+min+"分"+"<br/>"+"下午好!欢迎来到贵美";
			document.getElementById("clock").innerHTML=ss;
			}
			show();
			}catch(e){
				alert(e.message);
			}
			
			
		</script>
</html>
